from threading import Thread
from time import sleep
import sys
import os

def main():
  var1 = input('> ').strip(' ')
  print(os.popen(var1).read())

while True:
  main()

